{foreach $sidebar2 as $module}
{template:module2}
{/foreach}